package com.jingdianjichi.subject.application.converter;

import com.jingdianjichi.subject.application.dto.SubjectCategoryDTO;
import com.jingdianjichi.subject.application.dto.SubjectLabelDTO;
import com.jingdianjichi.subject.eneity.SubjectCategoryBO;
import com.jingdianjichi.subject.eneity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);
    SubjectLabelBO converterDtoToCategoryBo(SubjectLabelDTO subjectLabelDTO);
    List<SubjectLabelDTO> converterBosToDtos(List<SubjectLabelBO> subjectLabelBOS);

}
